package com.bdqn.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bdqn.mapper.ContactListMapper;
import com.bdqn.model.ContactList;
import com.bdqn.model.CustomerBaseInfo;
import com.bdqn.service.ContactListService;
@Service("ContactListService")
public class ContactListServiceImpl implements ContactListService {

	@Autowired
	private ContactListMapper contactListMapper;
	
	@Override
	public List<ContactList> contactList(CustomerBaseInfo cust) {
		return contactListMapper.contactList(cust);
	}

	@Override
	public int delete(Integer id) {
		return contactListMapper.delete(id);
	}


	@Override
	public int select(Integer id) {
		return contactListMapper.select(id);
	}

	@Override
	public int update(ContactList cl) {
		
		return contactListMapper.update(cl);
	}

	@Override
	public int insert(ContactList cl) {
		return contactListMapper.insert(cl);
	}


}
